import 'package:demo/views/base/base_controller.dart';
import 'package:demo/json/json_common.dart';

class CommonHelpController extends BaseController {
  List<CommonModel> dataList = [];

  // 获取列表
  Future<void> getList() async {
    dataList = await JsonCommon.getHelpList();
    update();
  }

  @override
  void onInit() {
    super.onInit();
    getList();
  }
}
